package com.laborder.sysyy.service.role.impl;

import com.laborder.sysyy.dao.RoleDaoMapper;
import com.laborder.sysyy.entity.Role;
import com.laborder.sysyy.service.role.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 786107529@qq.com FJL
 * @Date 2018/9/10 11:49
 */
@Service
@Transactional
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleDaoMapper roleDaoMapper;

    public List<Role> findRoleAllInfo(){
        return roleDaoMapper.findRoleAllInfo();
    }
}
